function g = sigmoid(z)
    %   Compute the the value of the sigmoid
    g = 1 ./ (1 + e.^(-z));
end
